%{
    Author:wjh
    LastUpdate:2022-01-26
%}

%%Copy File
MatlabLibraryRoot = matlabroot+"\toolbox\simulink\MotorControlLibrary\";
LibrarySource = "..\MotorControlLibrary\";
copyfile(LibrarySource, MatlabLibraryRoot);

%Add Path
LibraryInstallRoot = matlabroot+"\toolbox\simulink\MotorControlLibrary";
addpath(MatlabLibraryRoot);
